package com.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sp_permission")
public class Rights {
    @TableId(value = "ps_id",type = IdType.AUTO)
    private int id;
    @TableField("ps_name")
    private  String authName;
    @TableField("ps_level")
    private String level;
    @TableField("ps_pid")
    private int pid;
}
